//
//  NRWIndexBarTableView.h
//  NRWMall
//
//  Created by 邢毅 on 2018/5/24.
//  Copyright © 2018年 com.anpxd. All rights reserved.
//

#import <UIKit/UIKit.h>

@class NRWIndexBarView;

@protocol NRWIndexBarViewDelegate<NSObject>

- (void)indexBarViewDidStartTouch:(NRWIndexBarView *)view;

- (void)indexBarViewDidEndTouch:(NRWIndexBarView *)view;

- (void)indexBarView:(NRWIndexBarView *)view didSelectAtIndex:(NSInteger)index title:(NSString *)title;

@end

@interface NRWIndexBarView : UIView

@property (weak, nonatomic) id<NRWIndexBarViewDelegate> delegate;

@property (strong, nonatomic) NSArray <NSString *>*indexTitleArr;

@end
